home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir39 / er44.zip / ER44.TXT < prev    next >
Text File  |  1993-07-22  |  9KB  |  245 lines

  1. Erase 4.4 docfile  -  text format   -   created 07/21/93 by Steven M. Ryckman
  2.  
  3.  
  4.  
  5.  
  6.  
  7. ERase 4.4
  8.  
  9.  
  10. A replacement for the ever lame dos DEL command.
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21. Ever since the first versions of the DOS operating systems, users have been 
  22. plagued by Microsoft's lack of user-friendly software and operating system(s).  
  23. About five years prior to my writing the documentation for this version of 
  24. ERase, I began working for a company who writes software for large business 
  25. and does not use DOS or UNIX or any of the other "common" operating systems.  
  26. This operating system was an off-shoot of a main-frame O/S and as such, did 
  27. not clone the Microsoft world in any way.
  28.  
  29. When I began working for this company I thought to myself that they wouldn't 
  30. last a year.  I mean, now-a-days, EVERYONE uses dos whether they know how 
  31. to use it or not.  But low and behold I was wrong and boy am I glad I was 
  32. wrong.  Over the years there I would like to think that I learned a thing 
  33. or two about user-friendly programming.  With this version of ERase being 
  34. the ninth public release of it, evidently some of you feel the same way.   
  35. I won't over-glorify ERase, I'll be the first to admit that it was created 
  36. about 2am one morning because I accidentally erased some files off my 
  37. computer at home (using dos) by a stray wildcard character, and this was 
  38. before UNERASE commands were easily found.
  39.  
  40. The first two versions of ERase never left my computer.  They were written 
  41. strictly for my own personal use and were clumsy and huge memory hogs.  
  42. One day while a friend was over I happened to use ERase and gave him a 
  43. copy who gave another friend a copy and the story is pretty simple from there.
  44.  
  45. ERase is written using the Professional Development System (PDS) version 7.1 
  46. and several add-on libraries from Crescent Software in addition to several 
  47. of my own custom in-house routines.   It is modeled after the ERASE command 
  48. for the Theos Operating System but it's similarity stops quick.
  49.  
  50. Since I have already wasted a good page of space, why don't we just jump 
  51. into the features of ERase and go from there.
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.     Allows entry of up to twenty filespec's on one command line, each with 
  62.     or without wildcards. different drives and different sub-directories.
  63.  
  64.     If any wildcards are in the filespec(s), ERase defaults to displaying 
  65.     the filenames matching the filespec and ask if it's ok to erase the 
  66.     file before it is deleted.
  67.  
  68.     If there are no wildcards in a filespec, ERase will delete the file 
  69.     without asking.
  70.  
  71.     ERase now looks for an environment variable called ER on your system
  72.     when it is started.  If found, it will use these options as well
  73.     as any options on the command line.  Useful if you want ER to always
  74.     use a particular option without specifying it all the time.
  75.     
  76.     ERase shows you each filename it is deleting and after completing, 
  77.     gives the total number of files and bytes deleted from the drive(s).
  78.  
  79.     'SECure' option prevents anyone with any un-erase utility from 
  80.     recovering the file(s) after they have been deleted.  This option 
  81.     writes new data in the file(s) location on the drive before actually 
  82.     performing the erase, ensuring that none of the original data file 
  83.     contents can be recovered.
  84.  
  85.     'VERify' option ensures the file is actually erased.   Very useful 
  86.     for systems where background TSR's or other programs may leave 
  87.     files open.
  88.  
  89.     'RMD' option instructs ERase to remove the subdirectory the files 
  90.     are in as well when it's done erasing the files.  Note: The filespec 
  91.     you specify must erase ALL files in the subdirectory before it can 
  92.     be erased, otherwise ERase will give you an error.
  93.  
  94.     'NOErase' option allows you to see what ERase would do, but does 
  95.     not actually erase any of the files.
  96.  
  97.  
  98. Command syntax:
  99.  
  100. ERase  [filespec1]...<filespec20>   <separator>  <options>
  101.  
  102.  
  103. filespec1               a required entry of the file(s) to erase.  this 
  104.             can include a drive and path if needed and/or 
  105.             standard dos wildcards.
  106.  
  107. filespec20              up to twenty filespec's may be specified on one 
  108.             command line.  only the first filespec is
  109.             required however.
  110.  
  111. separator               the separator character is either a slash or left 
  112.             parenthesis.  it is not required if no options are 
  113.             specified but at least one separator must be 
  114.             used if options are to following the filespec's.
  115.  
  116. options                 none required, but definitely helpful.  all may be 
  117.             abbreviated to their first three characters 
  118.             (upper case as listed)
  119.  
  120.  
  121. Options available:
  122.  
  123. HELp or ?               display brief summary of options available.
  124.  
  125. NOQuery                 do not ask if ok to erase files, just erase 
  126.             them right away,
  127.  
  128. QUEry                 * ask before erasing each file (even if no wildcards).
  129.  
  130. NOType                  do not display filenames as they are erased.
  131.  
  132. TYPe                  * display results of each task as performed.
  133.  
  134. ERAse                 * erase the files specified.
  135.  
  136. NOErase                 display what would be erased, but never 
  137.             actually delete.
  138.  
  139. SECure                  over-write the file(s) before erasing them 
  140.             to prevent them from being un-erased by other 
  141.             utilities.
  142.  
  143. NOSecure              * erase the file, but do not do data 
  144.             over-writing first.
  145.  
  146. NOVerify              * don't check for file existence after erasing file(s).
  147.  
  148. VERify                  ensure the file(s) are erased afterwards.
  149.  
  150. RMDirectory             after erasing the files, if the directory where 
  151.             the files were located is empty, remove the 
  152.             directory as well.
  153.  
  154.             (default options are followed by asterick above)
  155.  
  156.  
  157. Sample commands:
  158.  
  159. ER  *.DOC                               Ask if ok to erase all files with
  160.                     *.DOC extensions, individually.
  161.  
  162. ER  *.DOC  (NOQ                         Erase the same files but don't ask
  163.                     any questions, just erase them.
  164.  
  165. ER   *.DOC   APPLE.TXT   C:\DOS\DEL.*   Ask if ok to erase any files in the                                                                     current  directory  matching *.DOC,                                                             erase the file APPLE.TXT in the
  166.                     current directory without asking,
  167.                     and erase all DEL.* files in the 
  168.                     directory C:\DOS  directory, but
  169.                     ask before actually erasing them.
  170.  
  171. ER  D:\TEMP\*.*  /NOQ  RMD              Erase all files in the directory 
  172.                     D:\TEMP and then remove the
  173.                     directory as well.
  174.  
  175. ER  SECRET.DOC  (SEC                    Erase the file SECRET.DOC in the
  176.                     current directory after over-writing
  177.                     the file to prevent un-erasure.
  178.  
  179.  
  180. Environment variable
  181.  
  182. ERase now supports the use of an environment variable to set default
  183. options for ERase to use.  For instance, if you put this line:
  184.  
  185. SET ER=/VER SEC
  186.  
  187. In your AUTOEXEC.BAT file, every time you run ERase, it will use the
  188. VERify and SECure option - unless it finds a conflicting
  189. option on the command line.  For instance, doing the following:
  190.  
  191. ER  *.ONE  /NOQ     
  192.  
  193. With the environment variable set as above would cause ERase to use
  194. the  VERify, SECure and NOQuery options, but doing:
  195.  
  196. ER  *.ONE  /NOQ NOV
  197.  
  198. Would cause it to use the NOQuery and SECure options only.
  199.  
  200.  
  201. Miscellaneous information
  202.  
  203. Using the VERify and SECure options will greatly increase the amount of 
  204. time it takes to delete file(s).
  205.  
  206. ERase is 'Desqview aware' meaning simply that users who are running 
  207. Desqview should have no problem with ERase locking the machine as 
  208. DOS' delete command can do when running under a window.
  209.  
  210.  
  211. Disclaimer
  212.  
  213. I hate to do this, but in today's world we have to.  ERase is provided 
  214. with no warranty either expressed or implied.  I have tested ERase on 
  215. a wide variety of equipment but by no means can I guarantee that it will 
  216. work on all systems all the time.  ERase is distributed as share-ware 
  217. with the pretense of 'try before you buy'. 
  218.  
  219.  
  220. Registration
  221.  
  222. You are hereby granted use of ERase for 90 days to evaluate it.  
  223. Upon expiration of the ninety day evaluation period, you must register 
  224. ERase for continued peace of mind.
  225.  
  226. Registration of ERase is only $10.00, payable in U.S. funds to Steve Ryckman.  Technical Support to registered users of ERase is provided free of charge by one of the methods listed below.  Registration will have sent to you,  an official ERase diskette (5.25" double density unless 3.5" low-density is requested) and a printed copy of this documentation.  Registration also allows you to register all future versions of ERase for free by download off BBS and entering your registration number.
  227.  
  228.  
  229. How to reach us
  230.  
  231. by mail:                Lakes Region Emergency Services
  232.             38703 North Sheridan Road  #203
  233.             Beach Park,     Illinois     60099-3981
  234.  
  235. by BBS:                 Lakes Region BBS
  236.             (708) 872-8086  or  (708) 872-8889
  237.             send message to STEVE RYCKMAN
  238.  
  239. by RIME:                Any R.I.M.E. network BBS around the world can reach
  240.             me by routing a message to STEVE RYCKMAN at
  241.             node ->LRBBS in the following conferences and
  242.             several others.  COMMON, FORSALE, ALARM/SECURITY,
  243.             CONF.HOSTS or NETADMIN
  244.  
  245.